package com.org.model;

import java.sql.Timestamp;

/**
 * OrderItem entity. @author MyEclipse Persistence Tools
 */

public class OrderItem implements java.io.Serializable {

	// Fields

	private Long id;
	private Product product;
	private Order order;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String fullName;
	private Boolean isGift;
	private String name;
	private Double price;
	private Integer quantity;
	private Integer returnQuantity;
	private Integer shippedQuantity;
	private String sn;
	private String thumbnail;
	private Integer weight;

	// Constructors

	/** default constructor */
	public OrderItem() {
	}

	/** minimal constructor */
	public OrderItem(Order order, Timestamp createDate, Timestamp modifyDate,
			String fullName, Boolean isGift, String name, Double price,
			Integer quantity, Integer returnQuantity, Integer shippedQuantity,
			String sn) {
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.fullName = fullName;
		this.isGift = isGift;
		this.name = name;
		this.price = price;
		this.quantity = quantity;
		this.returnQuantity = returnQuantity;
		this.shippedQuantity = shippedQuantity;
		this.sn = sn;
	}

	/** full constructor */
	public OrderItem(Product product, Order order, Timestamp createDate,
			Timestamp modifyDate, String fullName, Boolean isGift, String name,
			Double price, Integer quantity, Integer returnQuantity,
			Integer shippedQuantity, String sn, String thumbnail, Integer weight) {
		this.product = product;
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.fullName = fullName;
		this.isGift = isGift;
		this.name = name;
		this.price = price;
		this.quantity = quantity;
		this.returnQuantity = returnQuantity;
		this.shippedQuantity = shippedQuantity;
		this.sn = sn;
		this.thumbnail = thumbnail;
		this.weight = weight;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Order getOrder() {
		return this.order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getFullName() {
		return this.fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public Boolean getIsGift() {
		return this.isGift;
	}

	public void setIsGift(Boolean isGift) {
		this.isGift = isGift;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Integer getReturnQuantity() {
		return this.returnQuantity;
	}

	public void setReturnQuantity(Integer returnQuantity) {
		this.returnQuantity = returnQuantity;
	}

	public Integer getShippedQuantity() {
		return this.shippedQuantity;
	}

	public void setShippedQuantity(Integer shippedQuantity) {
		this.shippedQuantity = shippedQuantity;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getThumbnail() {
		return this.thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public Integer getWeight() {
		return this.weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

}